<#include "header.ftl">
    <div id="position">您所在的位置：<a href="/">首页</a></div>
    <#include "topNotice.ftl">
    <#include "topHotGoods.ftl">
    <div class="w980 mc" id="container">
			<@shishuo_classes_tag fatherId="0" isShowOnIndex="1" >
		    	<#list tag_value as classesEntity>
		    			<div class="block b">
			                <div class="subject"><span><a href="<#if (classesEntity.type!='otherUrl')>${basePath}/${classesEntity.type}/${classesEntity.aliasName}.htm<#else>${classesEntity.outUrl}</#if>">更多>></a></span>
			                <a href="<#if (classesEntity.type!='otherUrl')>${basePath}/${classesEntity.type}/${classesEntity.aliasName}.htm<#else>${classesEntity.outUrl}</#if>">${classesEntity.name}</a></div>
			                <ul class="topnew">
			                <#if (classesEntity.type=="goods")>
			                	<@shishuo_goods_item_list_tag aliasName="${classesEntity.aliasName}" p="1"  orderNum="1" pageSize="10">
			                		<#list tag_goods_item_list.list as goods>
					                	<li><span>[${goods.createTime?string("yyyy-MM-dd")}]</span>·<a href="${basePath}/goods_item/${goods.goodsId?c}.htm" title="${goods.title}" >${goods.title}</a></li>
								    </#list>
			                	</@shishuo_goods_item_list_tag>
			                </#if>
			                <#if (classesEntity.type=="article")>
				                <@shishuo_article_list_tag aliasName="${classesEntity.aliasName}" p="0">
					                <#list tag_article_list.list as aritcle>
							    		<li><span>${aritcle.createTime?string("yyyy-MM-dd")}</span><a href="${basePath}/article_item/${aritcle.articleId?c}.htm">${aritcle.title}</a></li>
							    	</#list>
						    	</@shishuo_article_list_tag>
					    	</#if>
					    	 <#if (classesEntity.type=="picture")>
				                <@shishuo_picture_list_tag aliasName="${classesEntity.aliasName}" p="0">
					                <#list tag_picture_list.list as picture>
							    		<li><span>${picture.createDate?string("yyyy-MM-dd")}</span><a href="${basePath}/picture_item/${picture.id?c}.htm">${picture.name}</a></li>
							    	</#list>
						    	</@shishuo_picture_list_tag>
					    	</#if>
		                	</ul>
	            		</div>
            	</#list>
		    </@shishuo_classes_tag>
    
    </div>
    
    <div class="w978 mc mt10 b">
        <div class="subject">友情链接</div>
        <div class="link">
            <ul>
                <li>没有资料</li>
            </ul>
        </div>
    </div>

<script>
function listHover(){$(this).addClass('hover').siblings().removeClass('hover');}
$(function()
{	
	$('.hot-goods li').mouseenter(listHover);
	$("#goodslist ul li").hover(function(){							 
		$(".addcart",this).html("立即购买").css("visibility","visible").stop().animate({bottom:"0px",opacity:"1"}, 300);							 
	},function(){
		$(".addcart",this).stop().animate({bottom: "-37px",opacity:"1"}, 300,function(){$(this).css("visibility","hidden")});
	});
	$("#goodslist ul li .addcart").click(function(){
		var id=$(this).attr("proid");
		var that=this;
		window.open("${basePath}/goods_redirect/"+id+".htm");
	});
});
</script>
<#include "footer.ftl">